package net.huashitong.ssydt.provider.exam.service;


import net.huashitong.ssydt.exam.entity.SsExamPaperTypeHot;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.09.13
 */
public interface SsExamPaperTypeHotService {

    int deleteByPrimaryKey(Long id);

    int insert(SsExamPaperTypeHot record);

    int insertSelective(SsExamPaperTypeHot record);

    SsExamPaperTypeHot selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamPaperTypeHot record);

    int updateByPrimaryKey(SsExamPaperTypeHot record);

    List<SsExamPaperTypeHot> findOrderHotNumberDesc();

    SsExamPaperTypeHot getByTypeValue(String paperType);

    void incrementHotNumber(Long id, long addHotNumber);
}
